function [ S ] = denormalize_outputs( S_normalized )

global G_FUNCTION;
%DENORMALIZE_OUTPUTS Summary of this function goes here
%   Detailed explanation goes here

S = S_normalized;
if G_FUNCTION == 2
    S = (S_normalized .* 2) - 1;
end

end
